package com.system.service;

import com.system.pojo.Product;
import com.system.pojo.Purchase;
import com.system.vo.ResultVo;

public interface PurchaseService {

    ResultVo<Purchase> selectAll();

    ResultVo<Purchase> selectAllDone();

    ResultVo<Purchase> selectAllUndone();

    ResultVo<Purchase> updateById(Integer id, Integer purchaseId);

    ResultVo<Purchase> insert(Product product);
}
